﻿using System.Windows;
using MovieModel.Model;

namespace MovieBuddy.Controls.MSTB
{
    /// <summary>
    /// Interaction logic for MSTBTest.xaml
    /// </summary>
    public partial class MSTBTest : Window
    {
        public MSTBTest()
        {
            InitializeComponent();

            multiSelectTextBox1.Items = new[]
                                            {
                                                new MultiSelectTextBoxItem{Id = -1, Text="hello world"},
                                                new MultiSelectTextBoxItem{Id = -2, Text="foo"},
                                                new MultiSelectTextBoxItem{Id = -3, Text="this is a long one"},
                                            };

            multiSelectTextBox1.ItemsSource = new[]
                                                  {
                                                      new TestableItem(1, "Denzel Washington"),
                                                      new TestableItem(2, "Johnny Depp"),
                                                      new TestableItem(3, "John Smith"),
                                                      new TestableItem(4, "Joe Peschi"),
                                                      new TestableItem(5, "George Washington")
                                                  };
        }
    }
}
